package name.huzhenbo.java.patterns.responsibilitychain;

class NaiveApplication implements HelpHandler {

    public boolean hasHelp(Topic topic) {
        return Topic.APP_TOPIC == topic;
    }

    public String handleHelp(Topic topic) {
        if (hasHelp(topic)) {
            return "app help";
        } else {
            return "no help found";
        }
    }
}
